package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 收款单预收款表
 * </p>
 *
 * @author LX
 * @since 2018-09-28
 */
@TableName("erp_receivables_pre")
public class ErpReceivablesPre extends Model<ErpReceivablesPre> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 分子机构
     */
    @TableField("branch_name")
    private String branchName;
    /**
     * 客户
     */
    @TableField("customer_name")
    private String customerName;
    /**
     * 预收款
     */
    @TableField("totle_money")
    private Double totleMoney;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Double getTotleMoney() {
        return totleMoney;
    }

    public void setTotleMoney(Double totleMoney) {
        this.totleMoney = totleMoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpReceivablesPre{" +
        ", id=" + id +
        ", branchName=" + branchName +
        ", customerName=" + customerName +
        ", totleMoney=" + totleMoney +
        "}";
    }
}
